// 基础路由配置
const data = [{
    name: '登录',
    path: "/",
    aliasPath: '/',
    meta: {
        //不需要登录，默认所有页面需要登录
        auth: false
    }
},
    {
        name: '首页',
        //uniapp 页面真实的路径，必须在pages.json配置中存在
        path: "/pages/home",
        //自定义访问的路径
        aliasPath: '/home',
        meta: {
            /* 是否显示面包屑，默认显示 */
            breadcrumb: false
        }
    },
    {
        name: '修改密码',
        path: "/pages/user/modifyPassword",
        aliasPath: '/user/modifypwd',
        meta: {
            //当前页面不在左侧菜单显示时，设置所属父页面地址
            name: "用户资料"
        }
    },
    {
        name: '用户基本资料',
        path: "/pages/user/profile",
        aliasPath: '/user/profile'
    }
]

/* 其他路由 */
const otherRouter = [
    {
        name: '人才房',
        path: "/pages/house/talent",
        aliasPath: '/house/talent'
    },
    {
        name: '公租房',
        path: "/pages/house/talent1",
        aliasPath: '/house/talent/1'
    },
    {
        name: '保租房',
        path: "/pages/house/talent2",
        aliasPath: '/house/talent/2'
    },
    {
        name: '共有产权房',
        path: "/pages/house/propertyRight",
        aliasPath: '/house/propertyRight'
    },
    {
        name: '安置房(限价房)',
        path: "/pages/house/placement",
        aliasPath: '/house/placement'
    },
    {
        name: '上传记录',
        path: "/pages/house/uploadHistory",
        aliasPath: '/house/upload/history'
    },
    {
        name: '项目数据总表',
        path: "/pages/house/dataSummary",
        aliasPath: '/house/data/summary'
    }
]

export default data.concat(otherRouter);
